package com.qf.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Set;

@FeignClient(value = "smsCache2204")
@RequestMapping("/cache")
public interface CacheFeign {
    //通配获取key集合
    @GetMapping("/keys/{key}")
    public Set<String> keys(@RequestParam(value = "key")String key);
}
